package com.health.teahouse.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;

/**
 * 菜谱管理对象 recipes
 * 
 * @author yang
 * @date 2024-01-10
 */
public class Recipes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long recipeId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 成分 */
    @Excel(name = "成分")
    private String ingredients;

    public void setRecipeId(Long recipeId) 
    {
        this.recipeId = recipeId;
    }

    public Long getRecipeId() 
    {
        return recipeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIngredients(String ingredients) 
    {
        this.ingredients = ingredients;
    }

    public String getIngredients() 
    {
        return ingredients;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recipeId", getRecipeId())
            .append("name", getName())
            .append("ingredients", getIngredients())
            .toString();
    }
}
